import request from '@/api/request'
//品牌列表
function getBrandList(kv){
  return request({
    url:'/api/leju/admin/brand/list',
    method:'GET',
    kv
  })
}
//品牌明细
function getBrandDetail(kv){
  return request({
    url:'/api/leju/admin/brand/detail',
    method:'GET',
    kv
  })
}
//更新
function upBrand(kv){
  return request({
    url:'/api/leju/admin/brand/saveOrUpdate',
    method:'POST',
    kv
  })
}
//删除
function delBrand(kv){
  return request({
    url:'/api/leju/admin/brand/del',
    method:'GET',
    kv
  })
}
export default {
  getBrandList,
  getBrandDetail,
  upBrand,
  delBrand
}
